import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 区域班次考勤
 * */
// 创建
export const workforceManagementWorkshopShiftCheckingInCreate = (data) => postRequest('/workforcemanagement/workshop-shift-checking-in/create', data);

// 更新
export const workforceManagementWorkshopShiftCheckingInUpdate = (data) => putRequest('/workforcemanagement/workshop-shift-checking-in/update', data);

// 删除
export const workforceManagementWorkshopShiftCheckingInDelete = (params) => deleteRequest('/workforcemanagement/workshop-shift-checking-in/delete', params);

// 详情
export const workforceManagementWorkshopShiftCheckingInGet = (params) => getRequest('/workforcemanagement/workshop-shift-checking-in/get', params);

// 分页
export const workforceManagementWorkshopShiftCheckingInPage = (params) => getRequest('/workforcemanagement/workshop-shift-checking-in/page', params);
export const workforceManagementWorkshopShiftCheckingInData = (params) => getRequest('/workforcemanagement/workshop-shift-checking-in/data', params);

export const workforceManagementWorkshopShiftCheckingInUpdateAuditState = (data) => postRequest('/workforcemanagement/workshop-shift-checking-in/update-audit-state', data);

export const workforceManagementWorkshopShiftCheckingInDayData = (params) => getRequest('/workforcemanagement/workshop-shift-checking-in/day-data', params);

// 更新打卡信息
export const workforceManagementWorkshopShiftCheckingInRefreshData = (data) => postRequest('/workforcemanagement/workshop-shift-checking-in/refresh-data', data);
